<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<link href="style.css" rel="stylesheet" type="text/css" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script> 
	<script src="js/jquery.maskedinput-1.2.2.js" type="text/javascript"></script>
	<script src="js/empresa.js"></script>
	
	<title>LINKIDEIAS</title>
	</head>
	<body>
	<div id="container">
			<jsp:include page="empresaHeader.jsp"></jsp:include>
		<div id="content">
			<div id="content_top"></div>
				<jsp:include page="empresaMenu.jsp"></jsp:include>
				<div class="post">
				<h4>${mensagem}</h4>
                <div class="contentbox_top">Cadastro Empresa</div>
					<form name="cadastrar" action="LinkideiasController" method="post" class="form" onsubmit="return empresaValida()">
					<input type="hidden" id="cmd" name="cmd" value="atualizarEmpresa" />
					<input type="hidden" id="flag" name="flag" value="logado" />
                    
                    <label>Nome : </label>
                    <input type="text" name="nome" id="nome" value="${empresa.nome}"/>
                    <label>Email : </label>
                    <input type="text" name="email" id="email" value="${empresa.email}"/>
                    <label>Rasão : </label>
                    <input type="text" name="razao" id="razao" value="${empresa.razao}"/>
                     <label>Nome Fantasia : </label>
                    <input type="text" name="nomeFantasia" id="nomeFantasia" value="${empresa.nomeFantasia}"/>
                     <label>Telefone Fixo : </label>
                    <input type="text" name="telefoneFixo" id="telefoneFixo" value="${empresa.telefoneFixo}"/>
                     <label>Telefone Celular : </label>
                    <input type="text" name="telefoneCelular" id="telefoneCelular" value="${empresa.telefoneCelular}"/>
                     <label>CNPJ* : </label>
                    <input type="text" name="cnpj" id="cnpj" value="${empresa.cnpj}"/>
                     <label>Site : </label>
                    <input type="text" name="site" id="site" value="${empresa.site}"/>
                     <label>Login : </label>
                    <input type="text" name="login.nome" id="login.nome" value="${empresa.login.nome}"/>
                     <label>Senha : </label>
                    <input type="password" name="login.senha" id="login.senha" value="${empresa.login.senha}"/>
                    
                    <input name="salvar" class="botao" type="submit" value="Atualizar" />
                    </form>
			   </div>     
	
	  
		<jsp:include page="constFooter.jsp"></jsp:include>
		</div>
			<div id="bottom"></div>
	</div>
	
	</body>
	</html>
